package zz.extjs.factory;

import zz.extjs.dao.CrossSchemaDAO;
import zz.extjs.dao.DatasetDAO;
import zz.extjs.dao.MemberDAO;
import zz.extjs.dao.StudentDAO;
import zz.extjs.dao.Validate_code;
import zz.extjs.impl.CrossSchemaDAOImpl;
import zz.extjs.impl.DatasetDAOImpl;
import zz.extjs.impl.MemberDAOImpl;
import zz.extjs.impl.StudentDAOImpl;
import zz.extjs.impl.Validate_codeImpl;

public class DAOFactory {
    public static MemberDAO getMemberInstance() {
        return new MemberDAOImpl();
    }
    public static DatasetDAO getDatasetDAOInstance() {
        return new DatasetDAOImpl();
    }
    public static StudentDAO getStudentInstance() {
        return new StudentDAOImpl();
    }
    public static CrossSchemaDAO getCrossSchemaInstance() {
        return new CrossSchemaDAOImpl();
    }
	public static Validate_code createValidate_code() {
		return new Validate_codeImpl();
	}
}